// 菜单相关请求
import request,{Method} from '@/libs/api.js'

// 修改订单收货地址
export function ManagerCancelOrder (params) {
    return request({
      url: '/order/order/ManagerCancelOrder',
      method: Method.POST,
      data: params
    });
}


// 修改订单收货地址
export function updateOrderConsignee (params) {
    return request({
      url: '/order/order/updateOrderConsignee',
      method: Method.POST,
      data: params
    });
}

// 修改订单价格
export function updateOrderPrice (params) {
    return request({
      url: '/order/order/updateOrderPrice',
      method: Method.POST,
      data: params
    });
}

// 获取订单详情
export function getOrderDetail (params) {
    return request({
      url: '/order/order/getOrderDetail',
      method: Method.POST,
      data: params
    });
}

// 获取商城官方平台的订单分页数据
export function getManagerOrderByPage (params) {
    return request({
      url: '/order/order/getManagerOrderByPage',
      method: Method.POST,
      data: params
    });
}